{% load i18n %}

{% extends "main.html" %}
    
{% block content %}
<h3>Dołącz do nas!</h3>
<div id="row1">
	<form action="." method="POST">
    <table>
    {% if comment %}
    <tr>
      <td colspan=2><h4>{{ comment }}</h4></td>
    </tr> 
    {% endif %}
    
     
	{% for field in form %}
     {% if field.errors %}
      <tr><td colspan="2" class="myerrors">{{ field.errors }}</td></tr>
     {% endif %}
     <tr>
      <td>{{ field.label }}</td>
      <td>{{ field }}</td>
     </tr>
     {% if field.help_text %}
      <tr><td colspan="2" class="helptext" >{{ field.help_text }}</td></tr>
     {% endif %}
    {% endfor %}
    <td colspan="2"><input class="button" type="submit" value="Wyślij swoje zgłoszenie"/></td>
    </tr>
  </table>
</div>
{% endblock %}

{% block subtitle %}
Członkowie ASI
{% endblock %}

{% block sidebar %}
    Przyłącz do ASI<br /> i dołącz do jednego z projektów lub załóż własny!<br />
    
    {% for i in projects %}
    <a href="/projects/{{ i.id }}">{{ i }}</a><br />
    {% endfor %}

{% endblock %}
